<template>
  <div class="page-404-vue error-page">
    <div class="background-image"></div>
    <p>您访问的页面不存在~~</p>
    <p><a @click="toHome"><i class="h-icon-home"></i>首页 </a></p>
  </div>
</template>
<script setup>
import {onMounted} from 'vue'
import {loading} from 'heyui'
import {useRouter} from 'vue-router'
onMounted(()=>{
  loading.close()
})
const router=useRouter()
const toHome=()=>{
  router.push({path:'/'})
}
</script>
